<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page import="java.util.Map"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Iterator"%>
<%@ page import="jt.classic.system.group.IGroup"%>
<%@ page import="jt.classic.system.user.IUser"%>
<%@ page import="jt.classic.app.info.AInfoDirectory"%>
<%@ page import="jt.classic.app.info.InfoTool"%>
<%@ page import="org.limp.mine.Label"%>
<%@ page import="org.limp.mine.HTMLTool"%>
<%@ page import="org.limp.mine.Controller"%>
<%@ page import="org.limp.mine.DateTrimmer"%>
<%@ page import="jt.classic.system.wordbook.XWordbook"%>
<%
	String context = jt.classic.system.ISystem.getContextPath();
	Object[] result = (Object[]) request.getAttribute("result");
	Label label = (Label) result[1];
	Controller controller = (Controller) result[2];
	String pageNO = (String) result[3];
	List resultList = (List) result[0];

	Map query = (Map) request.getAttribute("query");

	List list = (List) request.getAttribute("list");

	String qname = (String) query.get("qname");
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>专题预览列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<jsp:include page="../head.jsp"></jsp:include>
<style>
.inimg {
	width:100px;
	height:100px;
	border:1px;
}

.inimgover {
    width:100px;
	height:100px;
	border:1px  #cccccc
}

.inimgout {
    width:100px;
	height:100px;
	border:1px;
}
</style>
<script language="javascript">
  function handleQuery(){
      document.form1.action = context + "/app/info.do?method=listtheme";
      document.form1.submit();
  }
  
  function handleReresh(){
      window.location.href = context + "/app/info.do?method=listtheme&pageNO=<%=pageNO%>";
  }
  
  function handleView(id,tit){
      var url = context + "/app/info.do?method=face2directory&id=" + id; 
      top.xwin(this,url,false,tit);
  }
  
  function handleEdit(id){
      
  }
</script>
<style>
.intable {
	border: 0;
	font-size: 14px;
	border-bottom: 1px solid #dcdddd;
	border-left: 1px solid #dcdddd;
	border-collapse: collapse;
	width: 100%;
}

.intable .intd {
	border-right: 1px solid #dcdddd;
	border-top: 1px solid #dcdddd;
	padding: 0px;
	font-size: 10pt;
	align: center;
}
</style>
<body>
<form name="form1" method="post" action="">
<input type="hidden" name="pageNO" value="<%=pageNO%>">
<%
	String stamp = "cid:role;id:XSYSTEM_ROLE_ID;name:XSYSTEM_ROLE_NAME;other:XSYSTEM_OBJECT_ID;alt:XSYSTEM_ROLE_MEMO;title:专题列表;type:radio;size:5";
	out.println(InfoTool.rangeThemeList(resultList, stamp, context));
%>
<div style="padding:5px;"><%=label.displayLabel()%>&nbsp;
<%=label.startLabel()%>&nbsp;<%=label.previousLabel()%>
<%=label.nextLabel()%>&nbsp;<%=label.endLabel()%>
<%=controller.getController().toString()%>
</div>
<%=controller.getControlScript(true)%></form>
</body>
</html>
